package com.xgk.boot.module.core.logistics.service.mothership.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

/**
 * 发货人及相关信息
 */
@Data
public class PickupAndDeliveryDto {

    public PickupAndDeliveryDto() {
    }
    public PickupAndDeliveryDto(String name, String phoneNumber, AddressDto address,
                                 List<String> emails,
                                String openTime, String closeTime) {
        this.name = name;
        this.phoneNumber = phoneNumber;
        this.address = address;
        this.emails = emails;
        this.openTime = openTime;
        this.closeTime = closeTime;
    }
    // 发货人姓名
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String name;

    // 发货人手机号码
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String phoneNumber;

    /* 发货人地址信息 */

    private AddressDto address;

//    // 发货人所在国家
//    private String country;

    /**
     * 附加服务列表
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<String> accessorials;

    /**
     * 发货人电子邮件列表
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private List<String> emails;

    /** 时间窗口起始时间,如： 1100  Required*/
    private String openTime;
    /** 时间窗口结束时间 ，如：1700   Required*/
    private String closeTime;

    //参考号
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String referenceNumber;

    // 备注信息
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String notes;



}
